package main

import (
	"wolongauth/config"
	"wolongauth/database"
	"wolongauth/global"
	"wolongauth/server"

	"github.com/dingdinglz/dingtools/dinglog"
)

func init() {
	global.Logger = dinglog.NewLogger()
}

func main() {
	global.Logger.Info("正在启动卧龙网络验证系统...")
	global.Logger.Info("https://gitee.com/dinglz/wolong-web-auth")
	config.Load()
	database.Run()
	server.Run()
}
